<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ThinkPHP 工具箱 by yhustc</title>
</head>
<body>
<form method=post action="<?php echo url('gencode','Build@Util');?>">
	<div style="width:50%;border: 1px solid #6B90C7;margin-bottom:5px;padding:0 5 0 5" align="center">
		<input type="checkbox" name="genaction">生成Action代码&nbsp;&nbsp;<input type="text" name="actionname" size="8" value="<?php echo $table ?>">Action.class.php
		<table>
		<tr>
			<td><input type="checkbox" name="index">index分页</td>
			<td><input type="checkbox" name="insert">添加数据</td>
		</tr>
		<tr>
			<td><input type="checkbox" name="update">修改数据</td>
			<td><input type="checkbox" name="delete">删除数据</td>
		</tr>
		</table>
	</div>
	<div style="width:50%;border: 1px solid #6B90C7;margin-top:5px;padding:0 5 0 5" align="center">
		<input type="checkbox" name="genmodel">生成Model代码&nbsp;&nbsp;<input type="text" name="modelname" size="8" value="<?php echo $table ?>">Model.class.php
		<table>
		<tr>
			<td><input type="checkbox" name="view">View视图</td>
			<td><input type="checkbox" name="auto">自动填充</td>
		</tr>
		<tr>
			<td><input type="checkbox" name="validate">自动校验</td>
			<td><input type="checkbox" name="link">多表关联</td>
		</tr>
		</table>
	</div>
	<p align="left"><input type="submit" value="生成代码"></p>
</form>
</body>
</html>